package com.ants.boot.system.dto.sysuser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;

/**
 * @author 蚂蚁会花呗
 * @date 2022/4/20 16:30
 * 更新头像
 */
@ApiModel(value = "更新头像")
public class UpdateAvatarDto {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "用户账号",required = true)
    @NotBlank(message = "用户账号不能为空！")
    private String username;

    @ApiModelProperty(value = "头像",required = true)
    @NotBlank(message = "头像地址不能为空！")
    private String path;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
